package com.glsc.ngateway.common.api.flowable.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Map;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "hibernateLazyInitializer", "handler" })
public class FlowStartupFormDto {

    @ApiModelProperty(value = "创建流程的标题")
    private String title;

    @ApiModelProperty(value = "批注意见")
    private String comment;

    @ApiModelProperty(value = "创建人Id")
    private String creatorId;

    @ApiModelProperty(value = "创建人姓名")
    private String creatorName;

    @ApiModelProperty(value = "流程节点办理人")
    private Map<String, String> taskAssignee;

    @ApiModelProperty(value = "条件判断变量")
    private Map<String, String> conditionalVariable;
}
